package icu.qx.diagram.domain;

import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaterialInbound {
    /**
     * 物料编码
     */
    @Excel(name = "物料编码")
    private String pdCode;
    /**
     * 物料名称
     */
    @Excel(name = "物料名称")
    private String pdName;
    /**
     * 物料类型
     */
    @Excel(name = "物料类型")
    private String pdGoodType;
    /**
     * 物料规格
     */
    @Excel(name = "物料规格")
    private String pdSpecType;
    /**
     * 物料单位
     */
    @Excel(name = "物料单位")
    private String pdUnitType;
    /**
     * 物料等级
     */
    @Excel(name = "物料等级")
    private String pdGoodClass;
    /**
     * 物料数量
     */
    @Excel(name = "物料数量")
    private String rmlReturnNum;
    /** 来料时间  */
    private String pmrReturnDate;
    /** 开始时间 */
    private String beginCreateTime;
    /** 结束时间 */
    private String endCreateTime;
    /** 制单人 */
    private String creatorName;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("pdCode", getPdCode())
                .append("pdName", getPdName())
                .append("pdGoodType", getPdGoodType())
                .append("pdSpecType", getPdSpecType())
                .append("pdUnitType", getPdUnitType())
                .append("pdGoodClass", getPdGoodClass())
                .append("rmlReturnNum", getRmlReturnNum())
                .append("pmrReturnDate", getPmrReturnDate())
                .append("creatorName", getCreatorName())
                .toString();
    }
}
